﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Template_BHHY_1.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WebBHXH._Default" %>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div style="margin-left:80px; margin-top:30px; height:35px;">
<table style="width: 100%;" border="0">
    <tbody>
        <tr>
        <td style="width: 260px;" class="styleDSTitle">
        <span id="Span2" style="float: left;
                            padding-right: 10px; line-height: 24px;">Mã Số Thẻ : 
        </span>
        <span style="float: left; padding-right: 10px;">
                <span id="Span1" class="riSingle RadInput RadInput_Windows7" 
                style="width: 158px;">
                    <asp:TextBox type="text" class="riTextBox riEmpty" 
                ID="txtMathe" runat="server" Width="158px"></asp:TextBox>
                </span>
        </span>
        </td>
        <td class="styleDSTitle" style="width: 210px">
        <span id="MainContent_UCQuanLy1_userControlUC_DonHangChuaThanhToan_lblSearchLabelText" style="float: left;
                            padding-right: 10px; line-height: 24px;">Họ Tên : 
        </span>
            <span style="float: left; padding-right: 0px; height: 26px; width: 130px;">
                <span id="ctl00_MainContent_UCQuanLy1_userControlUC_DonHangChuaThanhToan_txtSearchInvoiceCOD_wrapper" class="riSingle RadInput RadInput_Windows7" style="width: 200px;">
                    <asp:TextBox type="text" class="riTextBox riEmpty" 
                ID="txtHoTen" runat="server" Width="130px"></asp:TextBox>
                </span>
            </span>
        </td>
        <td class="styleDSTitle" style="width: 152px">
        <span id="Span4" style="float: left;
                            padding-right: 10px; line-height: 24px;">Mã Đợt : 
        </span>
            <span style="float: left; padding-right: 0px; height: 26px; width: 60px;">
                <span id="Span5" class="riSingle RadInput RadInput_Windows7" 
                style="width: 60px;">
                    <asp:TextBox type="text" class="riTextBox riEmpty" 
                ID="txtDotBH" runat="server" Width="64px"></asp:TextBox>
                </span>
            </span>

        </td>
        <td class="styleDSTitle" style="width: 300px">
        <span id="Span3" style="float: left;
                            padding-right: 10px; line-height: 24px;">Loại Bảo Hiểm : 
        </span>
            <span style="float: left; padding-right: 10px; margin-right:50px">
                <span id="loaibh" class="riSingle RadInput RadInput_Windows7" style="width: 50px;">
                    <asp:DropDownList CssClass="rcbInput" ID="ddlLoaiBH" runat="server" 
                Height="25px">
                        <asp:ListItem Value="0">--Tất Cả --</asp:ListItem>
                    </asp:DropDownList>
                </span>
            </span>
            <asp:Button class="button" ID="btnSearch" runat="server" 
                Text="Tìm" onclick="btnSearch_Click" />

        </td>
        <td align="right">
            <div id="div-export-command" style="padding-top: 5px; margin-right:50px;">      

            </div>
        </td>
    </tr>
    </tbody>
    </table>
</div>
<div style="margin-left:80px; margin-top:30px;">
        <asp:GridView ID="GridView1" runat="server" Width="907px" 
            onrowediting="GridView1_RowEditing" onrowdeleting="GridView1_RowDeleting" 
            AutoGenerateColumns="False" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging" PageSize="6" 
            AutoGenerateSelectButton="True" 
            onselectedindexchanging="GridView1_SelectedIndexChanging">
            <Columns>
                <asp:BoundField DataField="MaBHYTTN" HeaderText="Mã Số" >
                <ItemStyle Height="30px" />
                </asp:BoundField>
                <asp:BoundField DataField="MaDotBH" HeaderText="Mã Đợt" />
                <asp:BoundField DataField="HoVaTen" HeaderText="Họ Tên" />
                <asp:BoundField DataField="GioiTinh" HeaderText="Giới Tính" />
                <asp:BoundField DataField="CoSoKCB" HeaderText="Cơ Sở KCB" />
                <asp:BoundField DataField="LoaiBH" HeaderText="Loại BH" />
                <asp:BoundField DataField="MucBH" HeaderText="Mức BH" />
                <asp:BoundField DataField="DonViBHSTT" HeaderText="Đơn Vị" />
                <asp:BoundField DataField="MaSoThe" HeaderText="Mã Thẻ" />
                <asp:BoundField DataField="NSD" HeaderText="Người Tạo" />
                <asp:CommandField SelectText="Lựa Chọn" ShowSelectButton="True" />
                <asp:CommandField EditText="Sửa" ShowEditButton="True" />
                <asp:CommandField DeleteText="Xóa" ShowDeleteButton="True" />
            </Columns>
            <HeaderStyle BackColor="#33CCFF" Height="30px" />
        </asp:GridView>
</div>
<div style="margin-left:80px;  margin-top:10px; text-align:right; margin-right:190px">
    <asp:Button ID="btnExportExcel" runat="server" Text="Xuất file Excel" 
        onclick="btnExportExcel_Click" />
    <asp:Button ID="btnPrintCard" runat="server" Text="In Thẻ" 
        onclick="btnPrintCard_Click" />
</div>
</asp:Content>
